/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package abricots.entity.state;

/**
 *
 * @author charly
 */
public interface EntityStateManager {

    public void addState(EntityState state);

    public EntityState getEntityState(long gameTime);

    public EntityState getLastEntityState();

    public EntityState getLastEntityStateUpTo(long gameTime);

    public void clearAllBefore(long time);

    public void clearAllAfter(long time);

    public void setLastValid(long valid);

    public long getLastValid();
}
